package com.zh.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import com.zh.domain.Model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * @TableName project_user
 */
@TableName(value = "project_user")
@Data
@ApiModel(value = "ProjectUser", description = "项目成员表")
public class ProjectUser implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.AUTO)
    @ApiModelProperty("唯一id")
    private Integer id;
    @ApiModelProperty("项目id")
    private Integer proId;
    @ApiModelProperty("用户id")
    private Integer userId;
    @ApiModelProperty("角色 0 成员 1 管理员 2超级管理员")
    private Integer role;
    @ApiModelProperty("标签")
    private String tag;
}